import { Routes, RouterModule }  from '@angular/router';
import { TripCarrierComponent } from './tripcarrier.component';
import {TripcarrierDetailComponent} from "./detail/tripcarrier-detail.component";
import {stoptripcarrierComponent} from "./stop/stoptripcarrier.component";


const routes: Routes = [
  {
    path: '',
    component: TripCarrierComponent
  },
  {
    path:'detail/:trip_id',
    component: TripcarrierDetailComponent
  },
  {
    path:'stop',
    component: stoptripcarrierComponent
  }
];

export const routing = RouterModule.forChild(routes);
